/* Summary Statistics */

#delimit ;

version 8;
set mem 100m;
 
log using table2, replace text;
 

u psid76_2004_jleo;


drop if tenure==. | collbarg==. | occcat==. | ind1dg==.;

gen unemployed=status==3 | status==2;

summarize avhrly unemployed hours finger ehf sts dcp math numobs educ potexp 
tenure married collbarg nonwhite [aw=iweight] if relational_job==1;

summarize avhrly unemployed hours finger ehf sts dcp math numobs educ potexp 
tenure married collbarg nonwhite [aw=iweight] if relational_job==0;

log close;
clear;
